package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 浏览历史表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("browsing_history")
public class BrowsingHistory extends Model<BrowsingHistory> {

    private static final long serialVersionUID = 1L;

    /**
     * 目标id
     */
    private String id;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 浏览历史类型
     */
    private String type;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "BrowsingHistory{" +
        "id=" + id +
        ", userId=" + userId +
        ", type=" + type +
        ", createTime=" + createTime +
        "}";
    }
}
